import request from '@/utils/request';
import { BasicListItemDataType } from './data.d';

interface ParamsType extends Partial<BasicListItemDataType> {
  count?: number;
}

export async function queryFakeList(params) {
  return request(AC_PATH + '/api/msg', {
    data: params,
  });
}

export async function remove({ id }) {
  return request(AC_PATH + '/api/msg/' + id, {
    method: 'delete',
  });
}
